import React from "react";

export class Error extends React.Component {
  render() {
    return (
      <div className="text-center">
        <i className="fa fa-warning" />
        <span>{this.props.errorMsg}</span>
      </div>
    );
  }
}

export default Error;
